package cn.hp.customer.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 用户优惠券表(TblUserCoupon)实体类
 *
 * @author makejava
 * @since 2021-10-28 12:13:21
 */
public class TblUserCoupon implements Serializable {
    private static final long serialVersionUID = -85780961904789288L;
    /**
     * 领取记录ID
     */
    private Integer id;
    /**
     * 乘客ID
     */
    private Integer passengerId;
    /**
     * 电话号码
     */
    private String phoneNumber;
    /**
     * 关联订单号
     */
    private String orderId;
    /**
     * 优惠券ID
     */
    private int couponId;

    private String couponName;
    /**
     * 优惠券类型 1:现金券, 2:专项券-免费送车券, 3:专项券-免费还车券 4:折扣券
     */
    private int couponType;
    /**
     * 1,主动发放. 2,用户获取
     */
    private int getMethod;
    /**
     * 优惠券起效时间
     */
    private Date enableTime;
    /**
     * 获取时间
     */
    private Date createTime;
    /**
     * 过期时间
     */
    private Date expireTime;
    /**
     * 使用时间
     */
    private Date updateTime;
    /**
     * 使用时间
     */
    private Date useTime;
    /**
     * 状态 0:未使用, 1:已使用
     */
    private int isUse;
    /**
     * 最低消费金额
     */
    private BigDecimal minimumAmount;
    /**
     * 减免金额(现金券：能抵扣的金额,折扣券：最高能抵扣的金额)
     */
    private BigDecimal reductionAmount;
    /**
     * 折扣8,7.5
     */
    private BigDecimal discount;
    /**
     * 功能类型 1:市场活动, 2:订单赔付
     */
    private Integer functionType;
    /**
     * 赔付记录ID
     */
    private Integer indemnityRecordId;
    /**
     * 活动标签
     */
    private String activityTag;
    /**
     * 活动ID
     */
    private int activityId;

    @Override
    public String toString() {
        return "TblUserCoupon{" +
                "id=" + id +
                ", passengerId=" + passengerId +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", orderId='" + orderId + '\'' +
                ", couponId=" + couponId +
                ", couponName='" + couponName + '\'' +
                ", couponType=" + couponType +
                ", getMethod=" + getMethod +
                ", enableTime=" + enableTime +
                ", createTime=" + createTime +
                ", expireTime=" + expireTime +
                ", updateTime=" + updateTime +
                ", useTime=" + useTime +
                ", isUse=" + isUse +
                ", minimumAmount=" + minimumAmount +
                ", reductionAmount=" + reductionAmount +
                ", discount=" + discount +
                ", functionType=" + functionType +
                ", indemnityRecordId=" + indemnityRecordId +
                ", activityTag='" + activityTag + '\'' +
                ", activityId=" + activityId +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPassengerId() {
        return passengerId;
    }

    public void setPassengerId(Integer passengerId) {
        this.passengerId = passengerId;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public int getCouponId() {
        return couponId;
    }

    public void setCouponId(int couponId) {
        this.couponId = couponId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public int getCouponType() {
        return couponType;
    }

    public void setCouponType(int couponType) {
        this.couponType = couponType;
    }

    public int getGetMethod() {
        return getMethod;
    }

    public void setGetMethod(int getMethod) {
        this.getMethod = getMethod;
    }

    public Date getEnableTime() {
        return enableTime;
    }

    public void setEnableTime(Date enableTime) {
        this.enableTime = enableTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public int getIsUse() {
        return isUse;
    }

    public void setIsUse(int isUse) {
        this.isUse = isUse;
    }

    public BigDecimal getMinimumAmount() {
        return minimumAmount;
    }

    public void setMinimumAmount(BigDecimal minimumAmount) {
        this.minimumAmount = minimumAmount;
    }

    public BigDecimal getReductionAmount() {
        return reductionAmount;
    }

    public void setReductionAmount(BigDecimal reductionAmount) {
        this.reductionAmount = reductionAmount;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public Integer getFunctionType() {
        return functionType;
    }

    public void setFunctionType(Integer functionType) {
        this.functionType = functionType;
    }

    public Integer getIndemnityRecordId() {
        return indemnityRecordId;
    }

    public void setIndemnityRecordId(Integer indemnityRecordId) {
        this.indemnityRecordId = indemnityRecordId;
    }

    public String getActivityTag() {
        return activityTag;
    }

    public void setActivityTag(String activityTag) {
        this.activityTag = activityTag;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }
}
